/*!
 * Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
 */
@import '../_tokens/index';

.navigation {
  z-index: 4;

  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: flex-start;

  box-sizing: border-box;
  padding: 12px var(--size-m1);

  color: var(--color-text-dt);
  background-color: var(--color-background-nav);

  @media (width < $breakpoint-desktop-min) {
    flex-wrap: wrap;

    height: auto;
    padding: 0;
  }

  .theme-dark & {
    background-color: var(--color-background-nav-dt);
  }

  & .button {
    @media (width < $breakpoint-desktop-min) {
      min-width: 52px;
      height: 52px;
    }
  }
}
